package afcp.alumni.model;

import java.nio.charset.Charset;

public class Encoding {
	private String name;
	private Charset charset;
	
	public Encoding() {
	}
	public Encoding(String name) {
		this.name = name;
		this.charset = Charset.forName(name);
	}
	public Encoding(String name, Charset charset) {
		this.name = name;
		this.charset = charset;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Charset getCharset() {
		return charset;
	}
	public void setCharset(Charset charset) {
		this.charset = charset;
	}
}
